<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 	
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html >
<html>
<head>
		<title></title>
		<style type="text/css">
		#e{
		
			height:40px;
			margin-top: 20px;
		}
		.hrlogo{
			width:100%;
			height:300px;
		}
		</style>
		<!--适配于手机终端和PAD等移动终端，禁止缩放-->
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<meta charset="UTF-8" />
		<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
	</head>

<body>
<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
		<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
		<div class="container">
	<div class="row clearfix">
		<div class="col-md-12 column">
			<ul class="nav nav-tabs">
				<li>
					 <a href="${pageContext.request.contextPath}/dept_findAll.action">部门表</a>
				</li>
				<li class="active">
					 <a href="${pageContext.request.contextPath}/queryfind.action">员工表 </a>
				</li>
				<li>
					 <a href="${pageContext.request.contextPath}/contract_find_findByFirstPage.action">部门合同</a>
				</li>
				<li>
					 <a href="http://localhost:8080/spring03_1prac/Human_Resource_find_findAll.action">人才资源管理</a>
				</li>
				<li>
					 <a href="http://localhost:8080/spring03_1prac/transfer_find_findAll.action">人员调动管理</a>
				</li>
				<li>
					 <a href="${pageContext.request.contextPath}/eva_findAll.action">员工绩效评估</a>
				</li>
				<li>
					 <a href="${pageContext.request.contextPath}/hrmr_find_findHRReport.action">HR月报</a>
				</li>
				<li>
					 <a href="${pageContext.request.contextPath}/leave_findAll.action">考勤</a>
				</li>
				<li >
					 <a href="${pageContext.request.contextPath}/advise_findAll.action">招聘表</a>
				</li>			
			</ul>		
			<img src = "${pageContext.request.contextPath }/jsp-zt/img/timg.jpg" class="hrlogo" >
			<!-- <div class="jumbotron" id = "d1"></div> -->
			<div class="col-md-4 column">
		</div>
		<div class="col-md-5 column">
		</div>
			<table class="table">		
				<thead>
					<tr>
						<th>部门编号</th>
						<th>部门名称</th>
						<th>员工人数</th>
						<th>工资总额</th>
						<th>平均工资</th>
						<th>正式员工人数</th>
						<th>离职员工人数</th>
						<th>试用员工人数</th>
					</tr>
				</thead>					
				<tbody>
					<c:forEach items="${hrs}" var="hr"><!-- 循环选项 --> 								
						<tr>
							<td>${hr.deptno }</td>
							<td>${hr.deptName }</td>
							<td>${hr.empNum }</td>
							<td>${hr.maxSal }</td>
							<td>${hr.avgSal }</td>
							<td>${hr.leaveWorkingNum }</td>
							<td>${hr.formalNum }</td>
							<td>${hr.tryOutNum}</td>	
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
	</div>
</div>
</body>
</html>